<?php
namespace Api\Controller;
use Common\Controller\AppframeController;
class UserController extends AppframeController {


	function _initialize() {
	}
	
	function index(){			
		$this->display();
	}
	//登陆接口
	function timeline(){
		
	}
	
	private function settoken() {
        $str = md5(microtime(true));  //生成一个不会重复的字符串
        //$str = sha1($str);  //加密
        return $str;
		//echo($str);
    }
	
	private function test(){
		$pass = "123abc";
		$passnew = "###".$pass;			
	}
	
}